﻿using System;

namespace Test.Entities
{
	public abstract class ChildIdentifiableEntity : IdentifiableEntity, IChildIdentifiableEntity
	{
		private Guid _parentId;

		public Guid ParentId
		{
			get
			{
				return _parentId;
			}
			set
			{
				if (value != Guid.Empty)
				{
					_parentId = value;
				}
			}
		}
	}
}